<?php 
/* SVN FILE: $Id$ */
/* Mondano Test cases generated on: 2010-03-16 12:36:21 : 1268742981*/
App::import('Model', 'Mondano');

class MondanoTestCase extends CakeTestCase {
	var $Mondano = null;
	var $fixtures = array('app.mondano');

	function startTest() {
		$this->Mondano =& ClassRegistry::init('Mondano');
	}

	function testMondanoInstance() {
		$this->assertTrue(is_a($this->Mondano, 'Mondano'));
	}

	function testMondanoFind() {
		$this->Mondano->recursive = -1;
		$results = $this->Mondano->find('first');
		$this->assertTrue(!empty($results));

		$expected = array('Mondano' => array(
			'id'  => 1,
			'nome'  => 'Lorem ipsum dolor sit amet',
			'nick'  => 'Lorem ipsum dolor sit amet',
			'email'  => 'Lorem ipsum dolor sit amet',
			'senha'  => 'Lorem ipsum dolor sit amet',
			'admin'  => 1,
			'sobre'  => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida,phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam,vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit,feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.',
			'slug'  => 'Lorem ipsum dolor sit amet',
			'created'  => '2010-03-16 12:36:21',
			'modified'  => '2010-03-16 12:36:21'
		));
		$this->assertEqual($results, $expected);
	}
}
?>